package com.woniu.supermarket.vo;

import com.woniu.supermarket.entity.Member;
import com.woniu.supermarket.entity.Shop;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.ToString;
import org.springframework.format.annotation.DateTimeFormat;
import java.util.Date;

@ApiModel(description = "高级搜索销售交易明细")
@Data
@ToString
public class dealAdvancedSearchVo {

    @ApiModelProperty(value = "开始时间")
    @DateTimeFormat(pattern = "yyyy-MM-dd")
    private Date dealStartTime;

    @ApiModelProperty(value = "结束时间")
    @DateTimeFormat(pattern = "yyyy-MM-dd")
    private Date dealEndTime;

    @ApiModelProperty(value = "会员")
    private Member member;

    @ApiModelProperty(value = "商品编码/名称")
    private String salecodeOrName;

    @ApiModelProperty(value = "门店")
    private Shop shop;

    @ApiModelProperty(value = "操作人员")
    private String staff;

    //0全部 1销售 2退货
    @ApiModelProperty(value = "订单类型")
    private Integer typeOrder;

}
